# coding=utf-8
# !/usr/bin/python3
from utils import extract_text_from_font

font_map=extract_text_from_font("./font.woff2")
def official_price(codes):
    s = ""
    for i in codes:
        if i != ".":
            i = font_map[repr(i)[3:-1]]
        s += i
    return s

    #return s
def sub_title(data):
    a, b = data.split("|")
    return str(official_price(a.strip())) + str(official_price(b.strip()))

